<?php

namespace App\Models;

use Spatie\Permission\Models\Role as BaseRole;
use EloquentFilter\Filterable;
use App\Models\Traits\Admin\ActionButtonTrait;

class Role extends BaseRole
{
    use Filterable, ActionButtonTrait;

    protected $appends = ['actionButton'];

    protected $actions = ['edit','delete', 'set_permissions'];

    protected $actionUri = 'roles';
}
